#ifndef __CMD_PANEL_H__ 
#define __CMD_PANEL_H__ 

#include "Common.h"
#include "ModelPanel.h"

class CmdPanel: public wxPanel
{
public:
    CmdPanel(wxFrame* parent);

    bool setup();
    bool teardown();

    void setModelPanel(ModelPanel* panel);

protected:
    void onOpenFile(wxCommandEvent& event);
    void openFile(char*);
private:
    ModelPanel* m_model_panel;


    enum
    {
        ID_BUTTON_OPEN,
        ID_BUTTON_PREVIOUS,
        ID_BUTTON_NEXT,
        ID_BUTTON_ADD
    };

    DECLARE_EVENT_TABLE();
};

#endif